Skip to content

fix(id-sync): enable core test helpers in lib tests - #8788

Merged
dezren39 merged 1 commit into
mainfrom
sweep/8760-id-sync-test-feature
Nov 14, 2026
Merged

dezren39 merged 1 commit into
mainfrom
sweep/8760-id-sync-test-feature

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Problem

Standalone id-sync library tests fail to compile because test-only modules import id_core::connectivity::silent, which is gated behind test-utils and is not enabled for id-sync test builds.

Solution

Add id-core with default-features = false and features = ["test-utils"] to id-sync dev-dependencies so the helper is available only to tests.

Closes #8760.

Verification

  • cd pkgs/id && ~/tools/fleet-build-lock cargo test -p id-sync --lib (122 passed)
  • git diff --check

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 22:46
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T21:07:31.058158Z
We couldn’t complete this review. Comment @codex review to try again.
2375c39 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39 dezren39 added work/assigned Queue worker lifecycle state queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state labels Nov 14, 2026
@dezren39
dezren39 force-pushed the sweep/8760-id-sync-test-feature branch from c87d2e8 to 2375c39 Compare November 14, 2026 21:07
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39
dezren39 merged commit 80dd75e into main Nov 14, 2026
@dezren39
dezren39 deleted the sweep/8760-id-sync-test-feature branch November 14, 2026 21:07
@dezren39 dezren39 removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state work/assigned Queue worker lifecycle state labels Nov 14, 2026
@dezren39

Copy link
Copy Markdown
Member Author

agent-note:v1
state: done
task: 17210
lane: code-b
worker: repo-worker-code
note: PR #8788 merged in task 17210 (merge commit 80dd75e); issue #8760 closed by the merge. Rebased onto current main (dev-dependencies conflict resolved as a union with the iroh-docs/iroh-gossip/p2panda-auth entries main gained since). Fresh verification at the rebased head with no feature flag: cargo test -p id-sync --lib — 126 passed, 0 failed. No review comments or findings existed on the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkgs/id: id-sync lib tests do not compile standalone (id_core::connectivity::silent feature not enabled)

1 participant